package com;

import java.io.File;
import java.io.FileNotFoundException;
import java.util.Scanner;

public class HexagonGame {
	private static Scanner scanner;
	public static void main(String[] args) {
		try {
			scanner = new Scanner(new File("hexagon_game//input//D-small-practice.in"));//get the scanner
			int testCases = scanner.nextInt();//number of test cases
			scanner.nextLine();
			for(int testCase=0; testCase<testCases;testCase++) {
				doTestCase();//calculate straight lines
			}
		} catch (FileNotFoundException e) {
			e.printStackTrace();
		}
		System.out.println("test");
	}
	
	
	private static void doTestCase() {
		String[] spots = scanner.nextLine().split(" ");
		int s = spots.length; //board size, refer the question
		Checker[] checkers = new Checker[s];
		for(int i=0; i<s;i++) {
			checkers[i] = new Checker(new Integer(spots[i]).intValue(), scanner.nextInt());
		}
		scanner.nextLine();
		HexagonalBoard board = new HexagonalBoard(s);
		//TODO continue
	}
	
	static class Checker{
		int position;
		int value;
		public Checker(int position, int value) {
			this.position = position;
			this.value = value;
		}
	}
}
